import service from '@/utils/request'

export const getList = (data: any) => {
	return service.post('/api/review/queryReviewAuditList', data)
}

export const addOptions = (data: any) => {
	return service.post('/api/review/saveOpinions', data)
}

export const getOptions = (data: any) => {
	return service.post('/api/review/queryOpinions', data)
}

export const getStage = (data: any) => {
	return service.post('/api/review/queryStage', data)
}

export const batchAudit = (data: any) => {
	return service.post('/api/review/batchAudit', data)
}

export const createList = (data: any) => {
	return service.post('/api/review/buildSystemInventory', data)
}

export const exportReview = (data: any) => {
	return service.post('/api/review/exportReview', data)
}

export const getResult = (data: any) => {
	return service.post('/api/review/conclusionDetail', data)
}

export const batchUploadFiles = (data: any) => {
	return service.post('/api/review/saveFiles', data)
}

export const cancelPublish = (data: any) => {
	return service.post('/api/review/cancelPublishReview', data)
}

export const republishProject = (data: any) => {
	return service.post('/api/review/doPublishReview', data)
}
